package com.qumitech.visualnovel.model.dao.console;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

public class VoiceRoomPropertyChangeDO {
    private Integer id;

    @JSONField(name="room_id")
    private String roomId;

    @JSONField(name="rebate_can_exchange")
    private Byte rebateCanExchange;

    private Long permits;

    @JSONField(name="rebate_type")
    private Integer rebateType;

    @JSONField(name="robot_count")
    private Integer robotCount;

    private Integer power;

    @JSONField(name="broadcast_flag")
    private Byte broadcastFlag;

    @JSONField(name="operator")
    private String operatePerson;

    @JSONField(name = "update_time")
    private Date updateTime;

    @JSONField(name = "create_time")
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId == null ? null : roomId.trim();
    }

    public Byte getRebateCanExchange() {
        return rebateCanExchange;
    }

    public void setRebateCanExchange(Byte rebateCanExchange) {
        this.rebateCanExchange = rebateCanExchange;
    }

    public Integer getRebateType() {
        return rebateType;
    }

    public void setRebateType(Integer rebateType) {
        this.rebateType = rebateType;
    }

    public Integer getRobotCount() {
        return robotCount;
    }

    public void setRobotCount(Integer robotCount) {
        this.robotCount = robotCount;
    }

    public Integer getPower() {
        return power;
    }

    public void setPower(Integer power) {
        this.power = power;
    }

    public Byte getBroadcastFlag() {
        return broadcastFlag;
    }

    public void setBroadcastFlag(Byte broadcastFlag) {
        this.broadcastFlag = broadcastFlag;
    }

    public String getOperatePerson() {
        return operatePerson;
    }

    public void setOperatePerson(String operatePerson) {
        this.operatePerson = operatePerson == null ? null : operatePerson.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", roomId=").append(roomId);
        sb.append(", rebateCanExchange=").append(rebateCanExchange);
        sb.append(", rebateType=").append(rebateType);
        sb.append(", robotCount=").append(robotCount);
        sb.append(", power=").append(power);
        sb.append(", broadcastFlag=").append(broadcastFlag);
        sb.append(", operatePerson=").append(operatePerson);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }

    public Long getPermits() {
        return permits;
    }

    public void setPermits(Long permits) {
        this.permits = permits;
    }
}